package cn.attackme.myuploader.dao;



import cn.attackme.myuploader.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface UserDao {

    User getUser(String username);

    int save(User user);

    int update(User user);

    int delete(String username);

    User login(String username,String password);

    List<Map<String,Object>> fandAllList();

}
